﻿<Window x:Class="MSCOCO_Downloader.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:MSCOCO_Downloader"
        mc:Ignorable="d"
        Title="Downloader for MS-COCO Dataset" Height="427.777" Width="525" Loaded="Window_Loaded" Icon="icon.png" Closing="Window_Closing">
    <Grid>
        <Button x:Name="jsonOpenButton" Content="Browse" Margin="0,0,10,7" Click="jsonOpenButton_Click" Grid.Column="1" Height="23" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75"/>
        <TextBox x:Name="jsonFileTextBox" Height="23" Margin="10,0,90,7" TextWrapping="Wrap" VerticalAlignment="Bottom" IsReadOnly="True" Grid.Column="1"/>
        <Label x:Name="label" Content="Instances File" Margin="2,0,0,35" RenderTransformOrigin="-0.005,0.298" HorizontalAlignment="Left" Width="99" Height="26" VerticalAlignment="Bottom" Grid.Column="1"/>
        <Button x:Name="folderBrowseButton" Content="Browse" Margin="0,0,10,66" Click="folderBrowseButton_Click" Grid.Column="1" HorizontalAlignment="Right" Width="75" Height="23" VerticalAlignment="Bottom"/>
        <TextBox x:Name="downloadFolderTextBox" Margin="10,0,90,66" TextWrapping="Wrap" IsReadOnly="True" Height="23" VerticalAlignment="Bottom" Grid.Column="1"/>
        <Label x:Name="label1" Content="Downloads Folder" HorizontalAlignment="Left" Margin="2,0,0,94" VerticalAlignment="Bottom" Width="109" Grid.Column="1" Height="26"/>
        <TextBlock x:Name="statusTextBlock" Margin="10,10,10,276" TextWrapping="Wrap" Grid.Column="1"/>
        <ProgressBar x:Name="progressBar" Margin="10,0,10,212" Grid.Column="1" Height="29" VerticalAlignment="Bottom"/>
        <TextBlock x:Name="progressStatusTextBlock" Text="" Margin="10,0,10,125" VerticalAlignment="Bottom" Grid.Column="1" Height="82"/>
        <Button x:Name="DownloadButton" Content="Download" Grid.Column="1" Margin="0,0,10,246" HorizontalAlignment="Right" Width="75" Click="DownloadButton_Click" Height="20" VerticalAlignment="Bottom"/>
        <Button x:Name="PauseButton" Grid.ColumnSpan="2" Content="Pause" Margin="0,0,90,246" Click="PauseButton_Click" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" IsEnabled="False"/>
        <Button x:Name="CancelButton" Grid.ColumnSpan="2" Content="Cancel" Margin="0,0,170,246" Height="20" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Click="CancelButton_Click" IsEnabled="False"/>

    </Grid>
</Window>
